<?php
// +----------------------------------------------------------------------
// | ZanPianCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.zanpian.com All rights reserved.
// +----------------------------------------------------------------------
// | BBS:  <http://www.feifeicms.cc>
// +----------------------------------------------------------------------
namespace app\common\validate;
class Lines extends Base{
 protected $rule = [
        ['lines_vid', 'require|number', '视频ID不能为空|视频ID必须为数字'],
		['lines_content', 'require|unique:lines,lines_content^lines_vid', '台词为空|存在相同台词！'],
    ];
}